home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
prog
/
atari
/
c
/
du_lib
/
mode.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-10
|
580b
|
33 lines
/*
DU_LIB v2
Gem Window Management & Dialog Library For Lattice C
½1994, by Craig Graham.
Based on the DU_LIBv1 Library for HiSoft Basic.
*/
/*
Mode Control Code
*/
#include "dulib.h"
/*
Set a mode control variable.
*/
void DU_mode(ModeType mt, short m)
{
switch (mt)
{
case DU_MODE_RIGHT_EQUALS_DOUBLE:
RightClickEqualsDoubleClick=m;
break;
case DU_MODE_SCROLL_HIGHLIGHT_IS_INVERSE:
ScrollSelectionIsInverse=m;
break;
case DU_MODE_KEYPRESS_TO_WINDOW_UNDER_MOUSE:
KeypressToWindowUnderMouse=m;
break;
}
}